package com.yf.service.course.impl;

import com.yf.service.impl.BaseServiceImpl;
import com.yf.vo.LessonRecordBackVo;
import com.yf.vo.LessonRecordVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.yf.dao.course.LessonRecordDao;
import com.yf.entity.course.LessonRecordEntity;
import com.yf.service.course.LessonRecordService;

/**
 * 上课记录Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 23 16:44:32 CST 2018
 */
@Service
public class LessonRecordServiceImpl extends BaseServiceImpl<LessonRecordEntity> implements LessonRecordService {
    @Autowired
    private LessonRecordDao lessonRecordDao;



    /**内部方法**/


    /**外部方法实现**/
    @Override
    public List<LessonRecordVO> getLessonRecord(Long userId) {
        return lessonRecordDao.getLessonRecord(userId);
    }

    @Override
    public List<LessonRecordBackVo> lessonRecordList(Map<String, Object> params) {
        return lessonRecordDao.lessonRecordList(params);
    }
}
